.class Lcom/nemustech/regina/widgets/clock/ClockWidget$31;
.super Ljava/lang/Object;
.source "ClockWidget.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnSelectListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/widgets/clock/ClockWidget;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/widgets/clock/ClockWidget;)V
    .locals 0
    .parameter

    .prologue
    .line 1980
    iput-object p1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$31;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onSelected(Lcom/nemustech/tiffany/world/TFModel;I)Z
    .locals 3
    .parameter "model"
    .parameter "faceIndex"

    .prologue
    const/4 v2, 0x0

    .line 1982
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$31;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4100(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "onSelected() - lock !!!"

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1986
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$31;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4200(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    if-ne p1, v0, :cond_2

    if-nez p2, :cond_2

    .line 1987
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$31;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4300(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/regina/widgets/clock/WeatherData;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 1988
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$31;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    iget-object v0, v0, Lcom/nemustech/regina/widgets/clock/ClockWidget;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFWorld;->lock()V

    .line 1989
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$31;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$3400(Lcom/nemustech/regina/widgets/clock/ClockWidget;)I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    .line 1990
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$31;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4400(Lcom/nemustech/regina/widgets/clock/ClockWidget;)V

    .line 1994
    :cond_0
    :goto_0
    const/4 v0, 0x1

    .line 1996
    :goto_1
    return v0

    .line 1992
    :cond_1
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$31;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4500(Lcom/nemustech/regina/widgets/clock/ClockWidget;)V

    goto :goto_0

    :cond_2
    move v0, v2

    .line 1996
    goto :goto_1
.end method
